﻿using System.Runtime.Serialization;

namespace NH.Web.AjaxServices.Contracts
{
    [DataContract(Name = "KeyValue", Namespace = "")]
    public class KeyValueContract
    {
        [DataMember(Name = "Key", IsRequired = true, Order = 0)]
        public string Key { get; set; }

        [DataMember(Name = "Value", IsRequired = true, Order = 1)]
        public string Value { get; set; }
    }
}